package com.yyb.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(title = "TbDormUpdateDTO", description = "更新宿舍信息的入参模型")
public class TbDormUpdateDTO {

    @Schema(title = "主键ID")
    @NotNull(message = "ID不能为空")
    private Long id;

    @Schema(title = "楼号")
    @NotBlank(message = "楼号不能为空")
    private String buildingNo;

    @Schema(title = "层号")
    @NotBlank(message = "层号不能为空")
    private String floorNo;

    @Schema(title = "房间号")
    @NotBlank(message = "房间号不能为空")
    private String roomNo;

    @Schema(title = "性别（字典）")
    @NotBlank(message = "性别不能为空")
    private String gender;

    @Schema(title = "风险等级（字典）")
    @NotBlank(message = "风险等级不能为空")
    private String riskLevel;
}
